﻿using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;

namespace ProjectManage.Core.Dto.SYS
{
    public class UpdateUserRoleDto : BaseUpdate
    {
        [Comment("用户")]
        [Required, MaxLength(50)]
        public string Account { get; set; }

        [Comment("角色")]
        [Required, MaxLength(50)]
        public string RoleCode { get; set; }
    }
}
